package android.bluebox.model;

import java.util.ArrayList;

public class AValue {
	
	private int id;
	private int attrId;
	private String name;
	private ArrayList<Integer> tagIdList;
//	private ArrayList<Integer> wsIdList;
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
	
	public void setAttrId(int id) {
		this.attrId = id;
	}
	
	public int getAttrId() {
		return attrId;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public void addTag(int id) {
		if (!tagIdList.contains(id)) tagIdList.add(id);
	}
	
	public void setTagIdList(ArrayList<Integer> tagList) {
		this.tagIdList = tagList;
	}
	
	public ArrayList<Integer> getTagIdList() {
		return tagIdList;
	}
	
//	public void addWorkspace(int id) {
//		if (!wsIdList.contains(id)) wsIdList.add(id);
//	}
//	
//	public void setWorkspaceIdList(ArrayList<Integer> wsList) {
//		this.wsIdList = wsList;
//	}
//	
//	public ArrayList<Integer> getWorkspaceIdList() {
//		return wsIdList;
//	}
}
